package com.shm.mapper;

import com.ruoyi.common.core.domain.entity.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.core.domain.vo.CommentVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 17526
* @description 针对表【comment(评论表)】的数据库操作Mapper
* @createDate 2023-08-09 19:41:31
* @Entity com.ruoyi.common.core.domain.entity.Comment
*/
public interface CommentMapper extends BaseMapper<Comment> {

    List<CommentVo> listCommentVoOfProduct(@Param("productId") Long productId, @Param("userId") Long userId);
}




